import axios from '../utils/request'

export function reg(params) {
    return axios.post('/user/reg',params)
}

export function forget(params) {
    return axios.post('/user/forget',params)
}

export function login(params) {
    return axios.post('/user/login',params)
}

export function sendSms(params) {
    return axios.post('/user/sendSms',params)
}

export function delete_user(params) {
    return axios.post('/user/delete_user',params)
}
export function getUserInfo(token) { 
    return axios.post('/user/getuserInfo',token)
}

export function editUserInfo(params) {
    return axios.post('/user/editUserInfo',params)
}